-- GENERATED SPELL FOR [Servant of Ilgalar] --


function spell0_819(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(8129,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_819', 3000, 1)
end

function Sorts_819(pUnit, Event)
local choix_sorts_819 = math.random(0, 0)
if choix_sorts_819 == 0 then
pUnit:RegisterEvent('spell0_819', 1, 1)
end
end

function mob819_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_819', math.random(1500, 3000), 1)
end

function mob819_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob819_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob819_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(819, 1, 'mob819_Action')
RegisterUnitEvent(819, 2, 'mob819_Leave')
RegisterUnitEvent(819, 3, 'mob819_Kill')
RegisterUnitEvent(819, 4, 'mob819_Die')
